package com.ynny.test01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order {

    //id 订单编号 标题 价格 日期  订单状态 是否删除
    private Integer id;
    private String orderNo;
    private String title;
    private BigDecimal price;
    private LocalDateTime createTime = LocalDateTime.now();
    private Integer status;//订单状态 0 未支付 1 已支付 2 已取消 3 已完成
    private Integer isDeleted = 0;


}
